package asava.trees;

/**
 * @author Tim Richter
 */
public final class NewClass extends Tree {
    public Tree type;

    public NewClass(final Tree type) {
        this.type = type;
    }

    @Override
    public int kind() {
        return TreeKind.NEWCLASS;
    }

    @Override
    public void accept(final TreeVisitor visitor) {
        visitor.visit(this);
    }
}
